package com.yy.wga.mp.module.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.wga.mp.module.user.entity.pojo.UserWechatDO;

/**
 * 小程序用户微信信息(UserWechat)表服务接口
 *
 * @author guochao
 * @since 2022-05-24 21:45:39
 */
public interface UserWechatService extends IService<UserWechatDO> {

    UserWechatDO getByOpenId(String appKey, String openId);
    UserWechatDO getByUnionId(String appKey, String unionId);
    UserWechatDO getBySharerAppId(String appKey, String sharerAppId);
    UserWechatDO getByUserId(String appKey, Long userId);

}
